{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a4b79edd",
   "metadata": {},
   "outputs": [],
   "source": [
    "#安装以下库\n",
    "import os\n",
    "import jieba\n",
    "import wordcloud\n",
    "from MyQR import myqr\n",
    "\n",
    "#在https://easylink.cc网址是上传自己的词云会生成网址链接\n",
    "myqr.run(\n",
    "words=\"https://easylink.cc/a16yet\",#将词云链接填到这，别按我的链接填，因为是我的词云\n",
    "version = 6,\n",
    "level = 'H',\n",
    "picture = \"C:\\\\Users\\\\30382\\\\Desktop\\\\二维码\\mjp2.png\",#这是二维码的背景图，需要在二维码文件中准备\n",
    "colorized = True,\n",
    "contrast = 1.0,\n",
    "brightness = 1.0,\n",
    "save_name = \"C:\\\\Users\\\\30382\\\\Desktop\\\\二维码\\\\mjp.png\",#最后生成二维码图片，扫描打开就是词云\n",
    ")\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
